package jnpf.model;

import lombok.Data;

import java.util.List;

/**
 * 导入预览表头对象
 *
 * @date 2024/5/18 11:38:15
 */
@Data
public class ExcelViewFieldModel {
    private String id;
    private String fullName;
    private String jnpfKey;
    private List<ExcelViewFieldModel> children;

    public ExcelViewFieldModel(String id, String fullName, List<ExcelViewFieldModel> children) {
        this.id = id;
        this.fullName = fullName;
        this.children = children;
    }

    public ExcelViewFieldModel(String id, String fullName) {
        this.id = id;
        this.fullName = fullName;
    }

    public ExcelViewFieldModel(String id, String fullName, String jnpfKey, List<ExcelViewFieldModel> children) {
        this.id = id;
        this.fullName = fullName;
        this.jnpfKey = jnpfKey;
        this.children = children;
    }

    public ExcelViewFieldModel(String id, String fullName, String jnpfKey) {
        this.id = id;
        this.fullName = fullName;
        this.jnpfKey = jnpfKey;
    }
}
